package cn.itcast.nems.studentrecord.dao.entity;

import cn.itcast.nems.common.entity.UUIDEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 学籍优惠表
 * </p>
 *
 * @author liyong
 * @since 2023-11-15
 */
@Getter
@Setter
@TableName("e2_student_record_discount")
public class StudentRecordDiscount extends UUIDEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 学籍ID
     */
    private String studentRecordId;

    /**
     * 优惠ID
     */
    private String discountId;

    /**
     * 优惠名称
     */
    private String discountName;

    /**
     * 优惠类型;枚举值：金额|CASH、折扣|DISCOUNT。注：来自于优惠规则的类型
     */
    private String discountType;

    /**
     * 优惠金额;单位：分
     */
    private Integer discountAmount;

    /**
     * 排序号
     */
    private Byte sort;

    /**
     * 优惠描述
     */
    private String description;
}
